<?php


defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');


class AplicacionViewMapa extends JView
{
    function display($tpl = null)
    {
    	$option = JRequest::getCmd('option');
		$document   = JFactory::getDocument();
        $document->addScript('http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA5oJaeEV872ooeUYfdTdTwRREP3PjzY69GjFoMcr7UxWX7JHyNxSmxi0ZO-3AX8znZ9apmB3rzZaEmw');
		$document->addScript(JURI::base().'components/'.$option.'/views/mapa/assets/mapa.js');
        
		parent::display($tpl);
    }
}
?>